/* 矩阵演示页面样式 */

.demo {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 30px;

  h1 {
    color: #2c3e50;
    margin-bottom: 10px;
  }

  p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 20px;
  }
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;

  button {
    background: #ecf0f1;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;

    &:hover {
      background: #bdc3c7;
    }

    &.active {
      background: #3498db;
      color: white;
    }
  }
}

.content {
  margin-top: 20px;
}

.docs {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.section {
  margin-bottom: 40px;

  h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  h3 {
    color: #34495e;
    margin: 15px 0 10px 0;
  }

  p {
    line-height: 1.6;
    margin-bottom: 15px;
  }

  ul, ol {
    margin: 15px 0;
    padding-left: 20px;

    li {
      margin-bottom: 8px;
      line-height: 1.5;
    }
  }

  pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: "Courier New", monospace;
    margin: 15px 0;
  }
}